package com.lz.myblog.repository;

import com.lz.myblog.entity.Admininfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdmininfoRepository extends JpaRepository<Admininfo,Integer> {
    //根据管理员用户名查询
    public List<Admininfo> findByAdminnameEquals(String adminname);

}
